package jml.config;

import java.util.ArrayList;

public class Plugins
{
	private String filterName;
	private boolean alwaysShow;
	private String storage;
	
	private ArrayList<Plugin> plugins;
	
	public Plugins()
	{
		plugins = new ArrayList<Plugin>();
	}
	
	public void addPlugin(Plugin p)
	{
		plugins.add(p);
	}
	
	public ArrayList<Plugin> getPlugins()
	{
		return plugins;
	}

	public void setFilterName(String filterName)
	{
		this.filterName = filterName;
	}

	public String getFilterName()
	{
		return filterName;
	}
	
	public String toString()
	{
		return "filterName="+filterName+"["+plugins+"]";
	}

	public boolean isAlwaysShow()
	{
		return alwaysShow;
	}

	public void setAlwaysShow(boolean alwaysShow)
	{
		this.alwaysShow = alwaysShow;
	}

	public void setStorage(String storage)
	{
		this.storage = storage;
	}

	public String getStorage()
	{
		return storage;
	}
}
